package com.api.shopapi.service;

import com.api.shopapi.entity.ActivityItem;
import com.api.shopapi.entity.ActivityType;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ActivityItemService {


    int insert(ActivityItem activityItem);

    int delete(String activityItemCode);

    int update(ActivityItem activityItem);

    ActivityItem getByActivityItemCode(String activityItemCode);

    List<ActivityItem> ListByActivityTypeCode(String activityTypeCode);


    PageInfo<ActivityItem> pageByCommandCenterCodeActivityTypeCode(int pageIndex, int pageSize,
                                                                String commandCenterCode,
                                                                String activityTypeCode);



}
